//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Brooks And Dunn','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Thursday','5/30/2024','7:00 PM','6226977','Brooks-And-Dunn-5-30-2024'],['James Taylor & His All-Star Band','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Friday','5/31/2024','8:00 PM','6276384','James-Taylor---His-All-Star-Band-5-31-2024'],['Red Hot Chili Peppersi & IRONTOM','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Wednesday','6/5/2024','7:00 PM','6128970','Red-Hot-Chili-Peppersi---IRONTOM-6-5-2024'],['Sarah McLachlan & Feist','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Thursday','6/6/2024','7:30 PM','6147552','Sarah-McLachlan---Feist-6-6-2024'],['Janet Jackson & Nelly','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Friday','6/14/2024','8:00 PM','6215284','Janet-Jackson---Nelly-6-14-2024'],['Cage The Elephant, Young The Giant & Bakar','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Thursday','6/20/2024','6:30 PM','6297210','Cage-The-Elephant--Young-The-Giant---Bakar-6-20-2024'],['Third Eye Blind, Yellowcard & Arizona','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Tuesday','6/25/2024','6:30 PM','6203452','Third-Eye-Blind--Yellowcard---Arizona-6-25-2024'],['Foreigner, Styx & John Waite','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Wednesday','6/26/2024','6:45 PM','6123915','Foreigner--Styx---John-Waite-6-26-2024'],['New Kids On The Block','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Saturday','6/29/2024','7:00 PM','6045176','New-Kids-On-The-Block-6-29-2024'],['Noah Kahan','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Tuesday','7/9/2024','8:00 PM','5948837','Noah-Kahan-7-9-2024'],['Hootie and The Blowfish','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Thursday','7/11/2024','7:00 PM','6062233','Hootie-and-The-Blowfish-7-11-2024'],['Barbie: The Movie - In Concert','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Thursday','7/18/2024','8:00 PM','6302518','Barbie--The-Movie---In-Concert-7-18-2024'],['Niall Horan','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Saturday','7/20/2024','7:30 PM','5724947','Niall-Horan-7-20-2024'],['A Day To Remember','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Sunday','7/21/2024','6:30 PM','6329566','A-Day-To-Remember-7-21-2024'],['Neil Young & Crazy Horse','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Monday','7/29/2024','7:30 PM','6396944','Neil-Young---Crazy-Horse-7-29-2024'],['Thirty Seconds to Mars & AFI','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Tuesday','7/30/2024','6:30 PM','6071693','Thirty-Seconds-to-Mars---AFI-7-30-2024'],['Bush, Jerry Cantrell & Candlebox','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Wednesday','7/31/2024','6:00 PM','6215154','Bush--Jerry-Cantrell---Candlebox-7-31-2024'],['Alanis Morissette, Joan Jett And The Blackhearts & Morgan Wade','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Thursday','8/1/2024','7:00 PM','6071958','Alanis-Morissette--Joan-Jett-And-The-Blackhearts---Morgan-Wade-8-1-2024'],['Sam Hunt, Russell Dickerson & George Birge','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Saturday','8/3/2024','7:00 PM','6353542','Sam-Hunt--Russell-Dickerson---George-Birge-8-3-2024'],['Slightly Stoopid & Dirty Heads','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Thursday','8/15/2024','6:00 PM','6303691','Slightly-Stoopid---Dirty-Heads-8-15-2024'],['Australian Pink Floyd Show','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Friday','8/16/2024','7:00 PM','6241097','Australian-Pink-Floyd-Show-8-16-2024'],['Limp Bizkit','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Sunday','8/18/2024','6:30 PM','6132036','Limp-Bizkit-8-18-2024'],['Tyler Childers & Shakey Graves','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Tuesday','8/20/2024','7:00 PM','5983477','Tyler-Childers---Shakey-Graves-8-20-2024'],['Santana & Counting Crows','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Wednesday','8/21/2024','7:00 PM','6264343','Santana---Counting-Crows-8-21-2024'],['Rob Zombie & Alice Cooper','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Thursday','8/22/2024','6:00 PM','6239181','Rob-Zombie---Alice-Cooper-8-22-2024'],['Switchfoot, Blue October & Matt Nathanson','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Saturday','8/24/2024','6:30 PM','6372392','Switchfoot--Blue-October---Matt-Nathanson-8-24-2024'],['Train, REO Speedwagon & Yacht Rock Revue','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Thursday','8/29/2024','6:25 PM','6239161','Train--REO-Speedwagon---Yacht-Rock-Revue-8-29-2024'],['The Doobie Brothers & Steve Winwood','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Friday','8/30/2024','7:00 PM','6226877','The-Doobie-Brothers---Steve-Winwood-8-30-2024'],['Hozier','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Saturday','8/31/2024','8:00 PM','6072071','Hozier-8-31-2024'],['Glass Animals','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Thursday','9/5/2024','7:45 PM','6361270','Glass-Animals-9-5-2024'],['Creed, 3 Doors Down & Finger Eleven','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Friday','9/6/2024','7:00 PM','6045234','Creed--3-Doors-Down---Finger-Eleven-9-6-2024'],['Jason Aldean','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Saturday','9/7/2024','7:30 PM','6112806','Jason-Aldean-9-7-2024'],['Def Leppard','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Tuesday','9/10/2024','6:00 PM','6271584','Def-Leppard-9-10-2024'],['Lainey Wilson, Jackson Dean & Zach Top','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Friday','9/13/2024','7:00 PM','6021102','Lainey-Wilson--Jackson-Dean---Zach-Top-9-13-2024'],['Dan And Shay, Jake Owen & Dylan Marlowe','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Friday','9/20/2024','7:00 PM','6276446','Dan-And-Shay--Jake-Owen---Dylan-Marlowe-9-20-2024'],['Pitbull','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Wednesday','9/25/2024','8:00 PM','6399316','Pitbull-9-25-2024'],['Lynyrd Skynyrd & ZZ Top','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Thursday','9/26/2024','7:00 PM','6319270','Lynyrd-Skynyrd---ZZ-Top-9-26-2024'],['Breaking Benjamin & Staind','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Saturday','10/5/2024','5:30 PM','6314448','Breaking-Benjamin---Staind-10-5-2024'],['Imagine Dragons','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Friday','10/11/2024','7:00 PM','6396742','Imagine-Dragons-10-11-2024'],['Imagine Dragons','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Saturday','10/12/2024','7:00 PM','6406179','Imagine-Dragons-10-12-2024'],['Porter Robinson','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Friday','10/18/2024','8:00 PM','6406760','Porter-Robinson-10-18-2024']],'USANA Amphitheatre','http://www.ticketnetwork.com/ticket/USANA-Amphitheatre-events.aspx');